package com.india.project.push.service.impl;

import com.india.project.push.domain.WmsToOtcDnLog;
import com.india.project.push.mapper.WmsToOtcDnLogMapper;
import com.india.project.push.service.IWmsToOtcDnLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class WmsToOtcDnLogService implements IWmsToOtcDnLogService {
    @Autowired
    private WmsToOtcDnLogMapper wmsToOtcDnLogMapper;

    @Override
    public List<WmsToOtcDnLog> searchLog(WmsToOtcDnLog wmsToOtcDnLog) {
        return wmsToOtcDnLogMapper.searchLog(wmsToOtcDnLog);
    }

    @Override
    public int saveLog(WmsToOtcDnLog wmsToOtcDnLog) {
        return wmsToOtcDnLogMapper.saveLog(wmsToOtcDnLog);
    }
}
